import { BaseEntity } from '@/modules/core/base/BaseEntity';
import { Column } from 'typeorm';

export class BaseCartsEntity extends BaseEntity {
  @Column({
    comment: '商品数量',
    default: 1,
  })
  num: number;

  @Column({ comment: '是否选中', default: false })
  is_select: boolean;
}
